<div class="message_list">

<h1>Jake's Messages</h1>

<%= render :partial => 'display_post', :collection => @messages %>

<%= link_to 'Previous page', { :page => @message_pages.current.previous } if @message_pages.current.previous %>
<%= link_to 'Next page', { :page => @message_pages.current.next } if @message_pages.current.next %> 

<br />

</div>
